package com.sws.device.constant;

/**
 * 错误码常量类
 */
public class ErrorCode {
    
    /**
     * 成功
     */
    public static final int SUCCESS = 200;
    
    /**
     * 请求格式错误
     */
    public static final int BAD_REQUEST = 400;
    
    /**
     * 未授权
     */
    public static final int UNAUTHORIZED = 401;
    
    /**
     * 禁止访问
     */
    public static final int FORBIDDEN = 403;
    
    /**
     * 未找到
     */
    public static final int NOT_FOUND = 404;
    
    /**
     * 设备未注册
     */
    public static final int DEVICE_NOT_REGISTERED = 421;
    
    /**
     * 服务器内部错误
     */
    public static final int SERVER_ERROR = 500;
} 